package com.twu.biblioteca.model;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * User: cschlumb
 * Date: 05/08/2013
 * Time: 18:31
 * To change this template use File | Settings | File Templates.
 */
public class Book {

    private final String name;
    private final String author;
    private final UUID uuid;

    public Book(String name, String author) {
        this.name = name;
        this.author = author;
        uuid = UUID.randomUUID();
    }

    public String getName() {
        return name;
    }

    public String getAuthor() {
        return author;
    }

    public UUID getUuid() {
        return uuid;
    }
}
